class CreateUserProfiles < ActiveRecord::Migration
  def self.up
    create_table :user_profiles do |t|
      t.column :user_id, :integer
      t.column :city, :string
      t.column :self_description, :string
      t.column :profession, :string
      t.column :hobby, :string
      t.column :qq, :string
      t.column :msn, :string
      t.column :yahoo, :string
      t.column :gtalk, :string
      t.column :blog, :string
      t.column :website, :string
      t.column :created_at, :datetime, :default => Time.now
      t.column :updated_at, :datetime, :default => Time.now    
    end
  end

  def self.down
    drop_table :user_profiles
  end
end
